﻿<%@ Page Language="C#" ValidateRequest="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="~/GateKeeper/User Controls/ipblacklist.ascx" TagName="gkipblacklist" TagPrefix="gkip" %>
<%@ Register Src="~/GateKeeper/User Controls/ipwhitelist.ascx" TagName="gkipwhitelist" TagPrefix="gkipw" %>
<%@ Register Src="~/GateKeeper/User Controls/uablacklist.ascx" TagName="gkuablacklist" TagPrefix="gkua" %>
<%@ Register Src="~/GateKeeper/User Controls/uawhitelist.ascx" TagName="gkuawhitelist" TagPrefix="gkuaw" %>
<%@ Register Src="~/GateKeeper/User Controls/urlwhitelist.ascx" TagName="gkurlwhitelist" TagPrefix="gkurlw" %>
<%@ Register Src="~/GateKeeper/User Controls/honeypot.ascx" TagName="gkhoneypot" TagPrefix="gkhp" %>
<%@ Register Src="~/GateKeeper/User Controls/httpbl.ascx" TagName="gkhttpbl" TagPrefix="gkhbl" %>
<%@ Register Src="~/GateKeeper/User Controls/dronebl.ascx" TagName="gkdronebl" TagPrefix="gkdbl" %>
<%@ Register Src="~/GateKeeper/User Controls/proxybl.ascx" TagName="gkproxybl" TagPrefix="gkpbl" %>
<%@ Register Src="~/GateKeeper/User Controls/Config.ascx" TagName="GateKeeperConfig" TagPrefix="gkc" %>

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>GateKeeper Web Access Management</title>
    <style type="text/css">
        .GateKeeper .settings {font-family:Verdana; font-style: normal; font-size: 11px;}
        .GateKeeper .settings {padding: 10px 10px 10px 10px;background: white;border: 1px solid silver;margin-bottom: 20px;margin-top: 20px; overflow:hidden; }
        .GateKeeper .settings h1 {margin: 0 0 10px 0;border-bottom: 1px solid silver;font-size:15px;letter-spacing:1px;}
        .GateKeeper {font-family:Verdana; font-style: normal; font-size: 11px;}
        .GateKeeper .savebutton {text-align: right; clear: both;}
        .GateKeeper input[type="text"] {width: 300px;} 
        .GateKeeper input[type="submit"] {background:#FFFFFF none repeat scroll 0 0;border:1px solid #B8C1CA;color:#000000;}
        .GateKeeper input[type="submit"]:hover {background:#B8C1CA none repeat scroll 0 0;color:#FFFFFF;cursor:pointer;}
        .GateKeeper textarea {width: 500px; height: 150px;}
        .GateKeeper .label{width: 240px;}
        .GateKeeper .input span {color: #666666; font-style: italic}
        .GateKeeper .note {float: right; background-color:#F1F1F1;border:1px solid #B8C1CA;width: 200px;padding: 5px 10px;}
        .GateKeeper .note h2{font-size: 12px;margin-bottom: 0px;padding-bottom: 0px;}
        
        #IPBlackList input[type="text"] {width: 150px;} 
        #IPWhiteList input[type="text"] {width: 150px;} 
        #UABlackList input[type="text"] {width: 150px;} 
        #UAWhiteList input[type="text"] {width: 150px;} 
        #UrlWhiteList input[type="text"] {width: 150px;} 

        UL.tabNavigation {list-style: none;margin: 0;padding: 0;}
        UL.tabNavigation LI {display: inline;}
        UL.tabNavigation LI A {padding: 3px 5px;background-color: #ccc;color: #000;text-decoration: none;}
        UL.tabNavigation LI A.selected,UL.tabNavigation LI A:hover {background-color: #333;color: #fff;padding-top: 7px;}
        UL.tabNavigation LI A:focus {outline: 0;}
        div.tabs > div {padding: 10px 15px;margin-top: 2px;border: 2px solid #333; background-color: #F1F1F1;}
        div.tabs > div h2 {margin-top: 0;}
        
        #IPBlackList .settings{width: 340px; margin: 10px auto;}
        #IPWhiteList .settings{width: 340px; margin: 10px auto;}
        #UABlackList .settings{width: 340px; margin: 10px auto;}
        #UAWhiteList .settings{width: 340px; margin: 10px auto;}
        #UrlWhiteList .settings{width: 340px; margin: 10px auto;}
        
    </style>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        (function($) {
            $(function() {
                var tabContainers = $('div.tabs > div');
                $('div.tabs ul.tabNavigation a').click(function() {
                    tabContainers.hide().filter(this.hash).slideDown("slow");
                    $('div.tabs ul.tabNavigation a').removeClass('selected');
                    $(this).addClass('selected');
                    return false;
                }).filter(':eq(1)').click();
            });
        })(jQuery);
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="tabs" style="width: 1000px; margin: 30px auto">
        <h2 style="color: #333">GateKeeper Web Access Management</h2>
        <!-- tabs -->
        <ul class="tabNavigation">
            <li style="float: right;"><a href="#config">Configure GateKeeper</a></li>
            <li><a href="#ipbl">IP Blacklist</a></li>
            <li><a href="#ipwl">IP WhiteList</a></li>
            <li><a href="#uabl">UA Blacklist</a></li>
            <li><a href="#uawl">UA WhiteList</a></li>
            <li><a href="#urlwl">Url WhiteList</a></li>
            <li><a href="#hp">HoneyPot History</a></li>
            <li><a href="#hbl">HttpBL History</a></li>
            <li><a href="#dbl">DroneBL History</a></li>
            <li><a href="#pbl">ProxyBL History</a></li>
        </ul>

        <!-- tab containers -->
        <div id="ipwl">
            <gkipw:gkipwhitelist ID="gkipwhitelist" runat="server" />
        </div>
        <div id="ipbl">
            <gkip:gkipblacklist ID="gkipblacklist" runat="server" />
        </div>
        <div id="uawl">
            <gkuaw:gkuawhitelist ID="gkuawhitelist" runat="server" />
        </div>
        <div id="uabl">
            <gkua:gkuablacklist ID="gkuablacklist" runat="server" />
        </div>
        <div id="urlwl">
            <gkurlw:gkurlwhitelist ID="gkUrlWhiteList" runat="server" />
        </div>
        <div id="hp">
            <gkhp:gkhoneypot ID="gkHoneyPot" runat="server" />
        </div>
        <div id="hbl">
            <gkhbl:gkhttpbl ID="gkhttpbl" runat="server" />
        </div>
        <div id="dbl">
            <gkdbl:gkdronebl ID="gkdronebl" runat="server" />
        </div>
        <div id="pbl">
            <gkpbl:gkproxybl ID="gkproxybl" runat="server" />
        </div>
        <div id="config">
            <gkc:GateKeeperConfig ID="gkConfig" runat="server" />
        </div>
    </div>
    </form>
    <script src="http://gatekeeper.uservoice.com/pages/general/widgets/tab.js?alignment=left&amp;color=333333" type="text/javascript"></script>
</body>
</html>